﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace Ceremony.API.Model
{
    public class BobingPrize
    {
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 奖项类型
        /// </summary>
        public int PrizeType { get; set; }
        /// <summary>
        /// 奖项名称
        /// </summary>
        public string PrizeName { get; set; }
        /// <summary>
        /// 积分
        /// </summary>

        public int Integral { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        protected BobingPrize() { }
        public BobingPrize(int prizeType,string prizeName,int integral)
        {
            this.PrizeName = prizeName;
            this.PrizeType = prizeType;
            this.Integral = integral;
            this.CreateTime = DateTime.Now;
        }
    }
}
